package create.FactoryMethod;

public class StartMain {
    public static void main(String[] args) {
        //创建客户
        IPackageFactory iPackageFactory = new Customer();
        //获得产品
        AbstractProduct product = iPackageFactory.createPackage();
        //使用产品
        System.out.println(product.getName()+"皮包");
    }
}
